/*
 * Copyright (c) 2006-2025, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2025-06-04     RT-Thread    first version
 */

#include <rtthread.h>

#define DBG_TAG "main"
#define DBG_LVL DBG_LOG
#include <rtdbg.h>

#include <SU_03T_USART.h>
#include "PetAction.h"
#include "OLED_DEV.h"
#include "FACE_DATA.h"

int main(void)
{
    OLED_ALL_init();

    PWM_dev_init();
    pwm1_set_angle(90);
    pwm2_set_angle(90);
    pwm3_set_angle(90);
    pwm4_set_angle(90);
    /* 初始化 SU-03T 串口 */
    SU_03T_USART_Config();
    action_thread();



    while (1)
    {

        rt_thread_mdelay(6000);
    }

    return RT_EOK;
}
